package com.shzu.jwc.ty.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class PeExamination {
    private Integer peExaminationId;

    private String peExaminationName;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date peExaminationStarTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date peExaminationEndTime;

    private String peExaminationPlace;

    private Integer peExaminationUpperLimit;

    private Integer peExaminationLowerLimit;

    private String peExaminationAsk;

    private Integer peExaminationState;

    private Integer peExaminationClassId;

    private Date peExaminationAddTime;

    private Integer systemYearId;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date orderStartTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date orderEndTime;

    private PeExaminationClass peExaminationClass;

    private Integer countStu;

    private String peExaminationCode;

    private Integer systemExamWeeklyId;

    private SystemExamWeekly systemExamWeekly;

    private String mainTeacher;

    private String assistantTeacher;

    private String isSubmit;

    public PeExaminationClass getPeExaminationClass() {
        return peExaminationClass;
    }

    public void setPeExaminationClass(PeExaminationClass peExaminationClass) {
        this.peExaminationClass = peExaminationClass;
    }

    public Integer getPeExaminationId() {
        return peExaminationId;
    }

    public void setPeExaminationId(Integer peExaminationId) {
        this.peExaminationId = peExaminationId;
    }

    public String getPeExaminationName() {
        return peExaminationName;
    }

    public void setPeExaminationName(String peExaminationName) {
        this.peExaminationName = peExaminationName == null ? null : peExaminationName.trim();
    }

    public Date getPeExaminationStarTime() {
        return peExaminationStarTime;
    }

    public void setPeExaminationStarTime(Date peExaminationStarTime) {
        this.peExaminationStarTime = peExaminationStarTime;
    }

    public Date getPeExaminationEndTime() {
        return peExaminationEndTime;
    }

    public void setPeExaminationEndTime(Date peExaminationEndTime) {
        this.peExaminationEndTime = peExaminationEndTime;
    }

    public String getPeExaminationPlace() {
        return peExaminationPlace;
    }

    public void setPeExaminationPlace(String peExaminationPlace) {
        this.peExaminationPlace = peExaminationPlace == null ? null : peExaminationPlace.trim();
    }

    public Integer getPeExaminationUpperLimit() {
        return peExaminationUpperLimit;
    }

    public void setPeExaminationUpperLimit(Integer peExaminationUpperLimit) {
        this.peExaminationUpperLimit = peExaminationUpperLimit;
    }

    public Integer getPeExaminationLowerLimit() {
        return peExaminationLowerLimit;
    }

    public void setPeExaminationLowerLimit(Integer peExaminationLowerLimit) {
        this.peExaminationLowerLimit = peExaminationLowerLimit;
    }

    public String getPeExaminationAsk() {
        return peExaminationAsk;
    }

    public void setPeExaminationAsk(String peExaminationAsk) {
        this.peExaminationAsk = peExaminationAsk == null ? null : peExaminationAsk.trim();
    }

    public Integer getPeExaminationState() {
        return peExaminationState;
    }

    public void setPeExaminationState(Integer peExaminationState) {
        this.peExaminationState = peExaminationState;
    }

    public Integer getPeExaminationClassId() {
        return peExaminationClassId;
    }

    public void setPeExaminationClassId(Integer peExaminationClassId) {
        this.peExaminationClassId = peExaminationClassId;
    }

    public Date getPeExaminationAddTime() {
        return peExaminationAddTime;
    }

    public void setPeExaminationAddTime(Date peExaminationAddTime) {
        this.peExaminationAddTime = peExaminationAddTime;
    }

    public Integer getSystemYearId() {
        return systemYearId;
    }

    public void setSystemYearId(Integer systemYearId) {
        this.systemYearId = systemYearId;
    }

    public Date getOrderStartTime() {
        return orderStartTime;
    }

    public void setOrderStartTime(Date orderStartTime) {
        this.orderStartTime = orderStartTime;
    }

    public Date getOrderEndTime() {
        return orderEndTime;
    }

    public void setOrderEndTime(Date orderEndTime) {
        this.orderEndTime = orderEndTime;
    }

    public Integer getCountStu() {
        return countStu;
    }

    public void setCountStu(Integer countStu) {
        this.countStu = countStu;
    }

    public String getPeExaminationCode() {
        return peExaminationCode;
    }

    public void setPeExaminationCode(String peExaminationCode) {
        this.peExaminationCode = peExaminationCode;
    }

    public Integer getSystemExamWeeklyId() {
        return systemExamWeeklyId;
    }

    public void setSystemExamWeeklyId(Integer systemExamWeeklyId) {
        this.systemExamWeeklyId = systemExamWeeklyId;
    }

    public SystemExamWeekly getSystemExamWeekly() {
        return systemExamWeekly;
    }

    public void setSystemExamWeekly(SystemExamWeekly systemExamWeekly) {
        this.systemExamWeekly = systemExamWeekly;
    }

    public String getMainTeacher() {
        return mainTeacher;
    }

    public void setMainTeacher(String mainTeacher) {
        this.mainTeacher = mainTeacher;
    }

    public String getAssistantTeacher() {
        return assistantTeacher;
    }

    public void setAssistantTeacher(String assistantTeacher) {
        this.assistantTeacher = assistantTeacher;
    }

    public String getIsSubmit() {
        return isSubmit;
    }

    public void setIsSubmit(String isSubmit) {
        this.isSubmit = isSubmit;
    }

    @Override
    public String toString() {
        return "PeExamination{" +
                "peExaminationId=" + peExaminationId +
                ", peExaminationName='" + peExaminationName + '\'' +
                ", peExaminationStarTime=" + peExaminationStarTime +
                ", peExaminationEndTime=" + peExaminationEndTime +
                ", peExaminationPlace='" + peExaminationPlace + '\'' +
                ", peExaminationUpperLimit=" + peExaminationUpperLimit +
                ", peExaminationLowerLimit=" + peExaminationLowerLimit +
                ", peExaminationAsk='" + peExaminationAsk + '\'' +
                ", peExaminationState=" + peExaminationState +
                ", peExaminationClassId=" + peExaminationClassId +
                ", peExaminationAddTime=" + peExaminationAddTime +
                ", systemYearId=" + systemYearId +
                ", orderStartTime=" + orderStartTime +
                ", orderEndTime=" + orderEndTime +
                ", peExaminationClass=" + peExaminationClass +
                ", countStu=" + countStu +
                ", peExaminationCode='" + peExaminationCode + '\'' +
                ", systemExamWeeklyId=" + systemExamWeeklyId +
                ", systemExamWeekly=" + systemExamWeekly +
                ", mainTeacher='" + mainTeacher + '\'' +
                ", assistantTeacher='" + assistantTeacher + '\'' +
                ", isSubmit='" + isSubmit + '\'' +
                '}';
    }
}